package com.stardust.autojs.runtime.api;

import androidx.annotation.NonNull;

import java.util.List;

public class DeviceStatus {

    private float battery;

    private List<ScriptInfo> execs;

    public static class ScriptInfo {
        String scriptName;

        Long startTime;

        public ScriptInfo(String scriptName, Long startTime) {
            this.scriptName = scriptName;
            this.startTime = startTime;
        }
    }

    public DeviceStatus(float battery, List<ScriptInfo> execs) {
        this.battery = battery;
        this.execs = execs;
    }

    public float getBattery() {
        return battery;
    }

    public List<ScriptInfo> getExecs() {
        return execs;
    }

}
